﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GarminUploader
{
    public class ActivityUploadException : Exception {
        public ActivityUploadException(string message) : 
            base(message) { }
    }

    public class UserLoginException : Exception
    {
        public UserLoginException(string username, string url) : 
            base("Unable to login as '" + username + "' at '" + url + "'.") { }
    }

    public class UserNotLoggedInException : Exception
    {
        public UserNotLoggedInException() :
            base("Not currently logged in to Garmin Connect.") { }
    }

    public class DuplicateActivityException : Exception
    {
        public DuplicateActivityException(string message) :
            base(message) { }
    }
}
